package com.fastadmin.pojo;

import com.xphsc.easyjdbc.annotation.CreatedDate;
import com.xphsc.easyjdbc.annotation.ModifiedDate;
import io.swagger.annotations.ApiModel;
import lombok.*;

import javax.persistence.*;
import java.util.Date;


@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Builder(toBuilder = true)
@Table(name = "t_keep")
@Entity
@ApiModel(description = "阿姨表")
public class Keep extends BaseEntity {
    //------------------------------------------------
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    protected Long id;
    @CreatedDate
    protected Date create_time;
    @ModifiedDate
    protected Date update_time;
    //------------------------------------------------
    private String openid;
    private Long ayi_id;
    private Integer type; //1收藏2购买



}
